<?php

	if( defined( 'STDIN' ) ) {
		foreach( $_SERVER[ 'argv' ] as $i => $arg ) {
			if( $i == 0 ) {
				continue;
			}
			$arg = explode( '=', $arg );
			if( isset( $arg[ 1 ] ) ) {
				$_SERVER[ $arg[ 0 ] ] = $arg[ 1 ];
			}
		}
	}

	require_once( dirname( __FILE__ ) . '/../config/bootstrap.php' );